package com.nxmu.entity;

import com.nxmu.enums.Grade;

import javax.persistence.*;

@Entity
@Table(name = "RESEARCH_ENTER")
public class ResearchEnter {

    @Id
    @Column(name = "ID")
    private Integer id;

    @Column(name = "NAME")
    private String name;

    @Column(name = "TEA_ID")
    private String teaId;

    @Column(name = "TEA_NAME")
    private String teaName;

    @Column(name = "SEX")
    private String sex;

    @Column(name = "GRADE")
    @Enumerated(value = EnumType.STRING)
    private Grade grade;

    @Column(name = "SCORE")
    private String score;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTeaId() {
        return teaId;
    }

    public void setTeaId(String teaId) {
        this.teaId = teaId;
    }

    public Grade getGrade() {
        return grade;
    }

    public void setGrade(Grade grade) {
        this.grade = grade;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getTeaName() {
        return teaName;
    }

    public void setTeaName(String teaName) {
        this.teaName = teaName;
    }
}
